package com.pai4j.pgc.dao;

import com.pai4j.pgc.entity.OpenApiRequestParamEntity;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface OpenApiRequestParamRepository extends JpaRepository<OpenApiRequestParamEntity, Long> {
    List<OpenApiRequestParamEntity> findByOpenapiIdOrderBySortNoAscIdAsc(Long openapiId);
    void deleteByOpenapiId(Long openapiId);
}
